/*******************************************************************************
 * Copyright (C) 2013 Jeremy Brodt and Kevin Gillespie
 * Description: Compass Driver Interface
 *         $Id: compass.h 5 2013-12-18 04:48:03Z brodtj1212@gmail.com $
 *******************************************************************************
 */

#ifndef _COMPASS_H_
#define _COMPASS_H_

/***** Global Data *****/
extern int compass_heading;

/***** Function Prototypes *****/
int compass_init(void);
int compass_task(void);
int compass_cal_start(void);
int compass_cal_end(void);
int deg10_to_rads8(int deg10);
int rads8_to_deg(int rads8);

#endif /* _COMPASS_H_ */
